Use CRPEJob::GetSectionFormat to retrieve the section format settings for a selected section in the specified report and supply the information by assigning values to the members of the structure, CRPESectionOptions. Use this method in order to edit and update the section formats and use CRPEJob::SetSectionFormat, to pass information back to CRPESectionOptions.
BOOL GetSectionFormat (
short sectionCode,
CRPESectionOptions *options );
Specifies the code for the report section for which you want to obtain format information. Use one of the PEP_XXX Section Codes Constants. | |
Specifies a pointer to CRPESectionOptions. |
Use CRPEJob::GetSectionFormatFormula to retrieve the text of a conditional section format formula as a string handle. Use this method to update the conditional section format formula and pass the changes back using CRPEJob::SetSectionFormatFormula.
BOOL GetSectionFormatFormula (
short areaCode,
short sectionCode,
short formulaName,
CString &formulaText );
Specifies the code for the report area for which you want to set formatting options. For information on area codes, see Working with section codes. | |
Specifies the code for the report section(s) for which you want to get section format information. See the table of section constants supplied in Working with section codes. | |
Specifies the name of the PEP_FFN_XXX Area/Section Format Formula Constants. | |
Refers to the Cstring object passed with the specified formula text when CRPEJob::GetSectionFormatFormula has completed successfully. |
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |